package jespeak.rules;

import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;

public class LSequence {

	private int lno;
	private List<String> sequences;

	public LSequence(String line) {
		StringTokenizer st = new StringTokenizer(line, " ");
		String token = st.nextToken();
		lno = Integer.parseInt(token.substring(2));
		sequences = new ArrayList<String>();
		while (st.hasMoreTokens()) {
			token = st.nextToken();
			sequences.add(token);
		}
	}

	public int getNumber() {
		return lno;
	}


}
